home *** CD-ROM | disk | FTP | other *** search
/ Skunkware 5 / Skunkware 5.iso / src / X11 / xhearts / Imakefile < prev    next >
Encoding:
Makefile  |  1995-05-09  |  1.4 KB  |  51 lines

  1. /**/#
  2. /**/#  This Imakefile makes the following programs:
  3. /**/#
  4. /**/#    heartsd:      hearts dealer daemon
  5. /**/#    hearts_dist:  heartsd spawner
  6. /**/#    xmhearts:     X11/Motif hearts interface
  7. /**/#    xawhearts:    X11/Xaw hearts interface
  8. /**/#
  9.  
  10. /**/#  Make this the same as HEARTSLIB in local.h
  11. HEARTSLIB = /usr/local/lib/hearts
  12.  
  13. SRCS_D = heartsd.c sockio.c
  14. OBJS_D = heartsd.o sockio.o
  15. SRCS_DIST = hearts_dist.c opensock.c sockio.c
  16. OBJS_DIST = hearts_dist.o opensock.o sockio.o
  17.  
  18. /**/#
  19. /**/# Uncomment this if you don't have a Motif build environment
  20. /**/#
  21. /* #define NO_MOTIF */
  22.  
  23. #ifdef NO_MOTIF
  24. SRCS = xawclient.c hearts.c select.c connect.c sockio.c start_dist.c gfx.c
  25. OBJS = xawclient.o hearts.o select.o connect.o sockio.o start_dist.o gfx.o
  26. PROGRAMS = heartsd hearts_dist xawhearts
  27. LOCAL_LIBRARIES = XawClientLibs
  28. #else
  29. SRCS = xmclient.c hearts.c select.c connect.c sockio.c start_dist.c gfx.c
  30. OBJS = xmclient.o hearts.o select.o connect.o sockio.o start_dist.o gfx.o
  31. PROGRAMS = heartsd hearts_dist xmhearts
  32. LOCAL_LIBRARIES = $(XMLIB)  $(XTOOLLIB) $(XMEXTRA_LIBS) $(XLIB)
  33. #ifndef XMLIB
  34. /* XMLIB = XmClientLibs */
  35. #endif
  36. #endif
  37.  
  38. #ifdef NO_MOTIF
  39. ComplexProgramTarget(xawhearts)
  40. #else
  41. ComplexProgramTarget(xmhearts)
  42. #endif
  43. SingleProgramTarget(heartsd, $(OBJS_D), , )
  44. SingleProgramTarget(hearts_dist, $(OBJS_DIST), , )
  45.  
  46. InstallNonExecFile(hearts.instr,$(HEARTSLIB))
  47. InstallProgram(heartsd,$(HEARTSLIB))
  48. InstallProgram(hearts_dist,$(HEARTSLIB))
  49.  
  50. CDEBUGFLAGS = -g
  51.